home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <appkit/View.h>
-
-
- #define VERTICAL 1
- #define CIRCLE_PIE 2
- #define CIRCLE_RECTANGLE 3
-
- #define MM_CONVERT (92.0/25.0)
-
- typedef struct
- {
- int menu_type;
- int num_items;
- float option1, option2, option3;
- NXColor unselected_colour,
- selected_colour;
- } MVParms;
-
-
- @interface MenuView:View
- {
- int menuType; /* HORIZONTAL, CIRCLE_PIE, CIRCLE_RECTANGLE */
- int numItems;
-
- float option1,
- option2,
- option3;
-
- NXColor unselectedColour,
- selectedColour;
-
- int hitItem;
- }
-
- - initFrame:(NXRect *) frameRect;
-
- - drawSelf:(NXRect *) drawRects :(int) rectCount;
-
- - setMenuParms:(MVParms *) parms;
-
- - setHitItem:(int) hit_item;
- @end
-